<template>
  <div>test!!!11112222</div>
</template>

<script>
export default {
  name: 'Test',
  mounted() {
    this.$api.actionSheet({
      title: '底部弹出框测试',
      cancelTitle: '这里是取消按钮',
      destructiveTitle: '红色警告按钮',
      buttons: ['1', '2', '3']
    }, function(ret, err) {
      var index = ret.buttonIndex;
      console.log(index)
    });
  }
}
</script>

<style scoped>

</style>
